<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
</head>
<body>

<form th:action="@{/index/add}" method="post">
    <table border="1">
        <tr>
            <td colspan="2"><h1>添加核酸检查信息</h1></td>
        </tr>
        <tr>
            <td>被检查人姓名<font color="red">(*)</font></td>
            <td><input type="text" name="assayUser" required="required"></td>
        </tr>
        <tr>
            <td>被检测人手机号<font color="red">(*)</font></td>
            <td><input type="text" name="phone" required="required"></td>
        </tr>
        <tr>
            <td>被检测人身份证号<font color="red">(*)</font></td>
            <td><input type="text" name="cardNum" required="required"></td>
        </tr>
        <tr>
            <td>检测机构<font color="red">(*)</font></td>
            <td>
                <select name="hospitalId">
、                    <option th:each="h:${hospitalList}" th:value="${h.id}" th:text="${h.name}"></option>
                </select>
            </td>
        </tr>
        <tr>
            <td>检测日期<font color="red">(*)</font></td>
            <td><input type="date" name="assayTime" required="required"></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="添加"></td>
        </tr>
    </table>
</form>

</body>
</html>